package com.loveprogrammer.common;

import com.loveprogrammer.model.game.UserGameWrapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @ClassName SessionGameContext
 * @Description 游戏全局
 * @Author admin
 * @Date 2024/2/20 14:47
 * @Version 1.0
 */
public class SessionGameContext {

    private static final Logger logger = LoggerFactory.getLogger(SessionGameContext.class);

    /***
     * key 是 userId
     */
    public final static Map<Integer, UserGameWrapper> USER_GAME_MAP = new ConcurrentHashMap<>();
}
